package top.licoba.configsdk;

/**
 * Created by licoba
 * Blog: https://www.licoba.top
 * Date: 2019/5/7  Time: 9:17
 * Remark: 所有状态的返回码
 */
public class ConfigCode {
    public final static int STATE_START = 99;//开始配置
    public final static int STATE_SCANNING = 100;//正在扫描设备
    public final static int STATE_MATCH_SUCCESS = 101;//蓝牙MAC匹配成功
    public final static int STATE_CANCEL_SCAN = 102;//取消扫描
    public final static int STATE_STOP_SCAN = 103;//停止扫描
    public final static int STATE_CONNECTING = 104;//正在与设备配对
    public final static int STATE_CONNECT_SUCCESS = 105;//配对成功
    public final static int STATE_CONNECT_FAILED = 106;//配对失败
    public final static int STATE_WRITING_DATA = 107;//正在写入数据
    public final static int STATE_WRITE_DONE = 108;//写入完毕
    public final static int STATE_CONNECTING_WIFI = 109;//正在连接WiFi
    public final static int STATE_CONNECTING_SERVER_FORWARD = 110;//连接前置服务器
    public final static int STATE_CONNECTING_SERVER_POST = 111;//连接后置服务器



    public final static int ERROR_DEVICE_NOT_FOUND = 11;//未发现蓝牙设备
    public final static int ERROR_CONFIG_OVERTIME = 12;//配置超时


}
